/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.transfer.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 专利转让Entity
 * @author wyy
 * @version 2018-10-26
 */
public class Transfer extends DataEntity<Transfer> {
	
	private static final long serialVersionUID = 1L;
	private String patentName;		// patent_name
	private String patentUser;		// patent_user
	private String site;		// site
	private String userType;		// user_type
	private String transferReceptor;		// transfer_receptor
	private String receptorSite;		// receptor_site
	private String patentType;		// patent_type
	private String receptorType;		// receptor_type
	private String count;				//所有专利转让数量
	private String datetime;			//时间

	public Transfer() {
		super();
	}

	public Transfer(String id){
		super(id);
	}

	@Length(min=0, max=255, message="patent_name长度必须介于 0 和 255 之间")
	public String getPatentName() {
		return patentName;
	}

	public void setPatentName(String patentName) {
		this.patentName = patentName;
	}
	
	@Length(min=0, max=255, message="patent_user长度必须介于 0 和 255 之间")
	public String getPatentUser() {
		return patentUser;
	}

	public void setPatentUser(String patentUser) {
		this.patentUser = patentUser;
	}
	
	@Length(min=0, max=255, message="site长度必须介于 0 和 255 之间")
	public String getSite() {
		return site;
	}

	public void setSite(String site) {
		this.site = site;
	}
	
	@Length(min=0, max=255, message="user_type长度必须介于 0 和 255 之间")
	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}
	
	@Length(min=0, max=255, message="transfer_receptor长度必须介于 0 和 255 之间")
	public String getTransferReceptor() {
		return transferReceptor;
	}

	public void setTransferReceptor(String transferReceptor) {
		this.transferReceptor = transferReceptor;
	}
	
	@Length(min=0, max=255, message="receptor_site长度必须介于 0 和 255 之间")
	public String getReceptorSite() {
		return receptorSite;
	}

	public void setReceptorSite(String receptorSite) {
		this.receptorSite = receptorSite;
	}
	
	@Length(min=0, max=255, message="patent_type长度必须介于 0 和 255 之间")
	public String getPatentType() {
		return patentType;
	}

	public void setPatentType(String patentType) {
		this.patentType = patentType;
	}
	
	@Length(min=0, max=255, message="receptor_type长度必须介于 0 和 255 之间")
	public String getReceptorType() {
		return receptorType;
	}

	public void setReceptorType(String receptorType) {
		this.receptorType = receptorType;
	}

	public String getCount() {
		return count;
	}

	public void setCount(String count) {
		this.count = count;
	}

	public String getDatetime() {
		return datetime;
	}

	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}
}